<?php

namespace Transform;

class PaymentTransform extends Transform {

    public function listview() {
        return [
            'allows' => ['luckmoney_id', 'money', 'type', 'num', 'sort', 'status', 'create_time', 'remark', 'luckmoneylog', 'user'],
            'user' => ['trans' => ['name' => 'User', 'method' => 'simple']],
            'luckmoneylog' => ['trans' => ['name' => 'LuckmoneyLog', 'method' => 'listview']],
            
        ];
    }

}
